import { SideMenuItem } from '@njt/foundation/defs/comm'

const sideMenuInfo:Array<SideMenuItem> = [
  {
    id: 'sidemenu-home',
    icon: 'home',
    label: '主页',
    to: '/'
  },
  {
    id: 'sidemenu-asn-arrived',
    icon: 'asn-arrived',
    label: '货已到仓',
    to: '/wms/work/asn-arrived',
    needRight: 'Wms.Work.Asn.Arrived'
  },
  {
    id: 'sidemenu-asn-checked',
    icon: 'asn-checked',
    label: '点收完成',
    to: '/wms/work/asn-checked',
    needRight: 'Wms.Work.Asn.Checked'
  },
  {
    id: 'sidemenu-asn-receive',
    icon: 'asn-receive',
    label: '入库验收',
    to: '/wms/work/asn-receive',
    needRight: 'Wms.Work.Asn.ReceiveGoods'
  },
  {
    id: 'sidemenu-putaway',
    icon: 'putaway',
    label: '上架',
    to: '/wms/work/putaway',
    needRight: 'Wms.Work.Other.Putaway'
  },
  {
    id: 'sidemenu-qc',
    icon: 'qc',
    label: '出库QC',
    to: '/wms/work/qc',
    needRight: 'Wms.Work.Order.PackQc'
  },
  {
    id: 'sidemenu-pick',
    icon: 'pick',
    label: '拣货',
    to: '/wms/work/pick',
    needRight: 'Wms.Work.Order.Pick'
  },
  {
    id: 'sidemenu-pick-order',
    icon: 'pick-order',
    label: '订单拣货',
    to: '/wms/work/pick-order',
    needRight: 'Wms.Work.Order.Pick'
  },
  {
    id: 'sidemenu-collect',
    icon: 'collect',
    label: '集货',
    to: '/wms/work/collect',
    needRight: 'Wms.Work.Order.Collect'
  },
  {
    id: 'sidemenu-pack-labeling',
    icon: 'pack-labeling',
    label: '贴标',
    to: '/wms/work/pack-labeling',
    needRight: 'Wms.Work.Order.PackLabeling'
  },
  {
    id: 'sidemenu-pallet',
    icon: 'pallet',
    label: '打托',
    to: '/wms/work/pallet',
    needRight: 'Wms.Work.Order.DoPallet'
  },
  {
    id: 'sidemenu-pack-consolidate',
    icon: 'pack-consolidate',
    label: '集箱',
    to: '/wms/work/pack-consolidate',
    needRight: 'Wms.Work.Order.PackConsolidate'
  },
  {
    id: 'sidemenu-load',
    icon: 'loading-up',
    label: '上车',
    to: '/wms/work/loading-up',
    needRight: 'Wms.Work.Order.LoadingUp'
  },
  {
    id: 'sidemenu-load-pallet',
    icon: 'loading-up-pallet',
    label: '上车(按托)',
    to: '/wms/work/loading-up-pallet',
    needRight: 'Wms.Work.Order.LoadingUp'
  },
  {
    id: 'sidemenu-counting',
    icon: 'counting',
    label: '初盘功能',
    to: '/wms/work/counting',
    needRight: 'Wms.Inv.InvCounting.DoCounting'
  },
  {
    id: 'sidemenu-recounting',
    icon: 'recounting',
    label: '复盘功能',
    to: '/wms/work/recounting',
    needRight: 'Wms.Inv.InvCounting.DoCounting'
  },
  {
    id: 'sidemenu-move-with-note',
    icon: 'move-with-note',
    label: '有单移库',
    to: '/wms/work/move-with-note',
    needRight: 'Wms.Inv.InvMove.Operate'
  },
  {
    id: 'sidemenu-move-without-note',
    icon: 'move-without-note',
    label: '无单移库',
    to: '/wms/work/move-without-note',
    needRight: 'Wms.Inv.InvMove.Operate'
  },
  {
    id: 'sidemenu-whole-lpn-move-by-pda',
    icon: 'whole-lpn-move-by-pda',
    label: '整栈板移库',
    to: '/wms/work/whole-lpn-move-by-pda',
    needRight: 'Wms.Work.Other.WholeLpnMove'
  },
  {
    id: 'sidemenu-loc',
    icon: 'loc',
    label: '库存查询',
    to: '/wms/work/loc',
    needRight: 'Wms.Inv.Inventory.View'
  },
  {
    id: 'sidemenu-myprofile',
    icon: 'account_circle',
    label: '我的资料',
    to: '/comm/my/my-profile'
  },
  {
    id: 'sidemenu-about',
    icon: 'info',
    label: '关于',
    to: '/comm/cfg/about'
  },
  {
    id: 'sidemenu-config',
    icon: 'settings_applications',
    label: '设置',
    to: '/wms/cfg/pda-config'
  }
]

export default sideMenuInfo
